﻿using System.ComponentModel.DataAnnotations;

namespace GameView.Services.Dtos.Project
{
    public class GameAddDto
    {
        /// <summary>
        /// 项目ID
        /// </summary>
        [Required]
        public int PId { get; set; }

        /// <summary>
        /// 游戏名称
        /// </summary>
        [Required]
        [MaxLength(100)]
        public string Name { get; set; }
    }
}